package com.neutech.entity;

import java.math.BigDecimal;

public class Cart {

    private Integer id;
    private Integer foodId;
    private String foodName;
    private String foodMainImage;
    private BigDecimal foodPrice;
    private Integer businessId;
    private Integer userId;
    private Integer quantity;

    public Cart() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getFoodMainImage() {
        return foodMainImage;
    }

    public void setFoodMainImage(String foodMainImage) {
        this.foodMainImage = foodMainImage;
    }

    public BigDecimal getFoodPrice() {
        return foodPrice;
    }

    public void setFoodPrice(BigDecimal foodPrice) {
        this.foodPrice = foodPrice;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "id=" + id +
                ", foodId=" + foodId +
                ", foodName='" + foodName + '\'' +
                ", foodMainImage='" + foodMainImage + '\'' +
                ", foodPrice=" + foodPrice +
                ", businessId=" + businessId +
                ", userId=" + userId +
                ", quantity=" + quantity +
                '}';
    }
}
